﻿
// FindSCUDlg.h: 头文件
//

#pragma once

#include "CWlFindSCU.h"

// CFindSCUDlg 对话框
class CFindSCUDlg : public CDialogEx
{
// 构造
public:
	CFindSCUDlg(CWnd* pParent = nullptr);	// 标准构造函数

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_FINDSCU_DIALOG };
#endif

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV 支持


// 实现
protected:
	HICON m_hIcon;
	CBrush m_brBlack;

	// 生成的消息映射函数
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBnClickedButtonMscuEcho();
	afx_msg void OnBnClickedButtonMscuQry();
	afx_msg void OnBnClickedButtonMscuClrlist();
	afx_msg void OnBnClickedButtonMscuClrlog();
	afx_msg LRESULT OnFindSCULog(WPARAM wParam, LPARAM lParam);
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnDatetimechangeDatetimepickerFindscuBegin(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnDatetimechangeDatetimepickerFindscuEnd(NMHDR *pNMHDR, LRESULT *pResult);
	DECLARE_MESSAGE_MAP()



private:
	CListCtrl m_wlist;
	CEdit m_log;
	CString m_patId;
	CString m_patName;
	CComboBox m_cmbSex;
	COleDateTime m_dtBegin;
	COleDateTime m_dtEnd;
	CString m_localAET;
	CString m_remoteAET;
	int m_port;
	CString m_serverIP;
	CComboBox m_cmbLL;
	CDateTimeCtrl m_ctldtBegin;
	CDateTimeCtrl m_ctldtEnd;

	CWlFindSCU m_FindSCU;

};
